﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GieldaCSharp
{
    public struct kursV
    {
        public int dataInt;
        public double kurs;
        public int x;
    };

    public struct ksV
    {
        public bool kupno;
        public bool sprzedaz;
    };

    class Dane
    {
        private static readonly Dane instance = new Dane();
        private Dane() { }
        static Dane() { }

        public static Dane Instance
        {
            get
            {
                return instance;
            }
        }

        public int lastDate = 0;
        public List<string> spolki = new List<string>();
        public Dictionary<string, List<kursV>> notowania = new Dictionary<string, List<kursV>>();
        public Dictionary<string, List<kursV>> wolumen = new Dictionary<string, List<kursV>>();
        public Dictionary<string, Listy> listy = new Dictionary<string, Listy>();    
    }
}
